
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
	<link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/mdui/0.4.3/css/mdui.min.css">
	<script src="https://cdnjs.loli.net/ajax/libs/mdui/0.4.3/js/mdui.min.js"></script>
	<title>GUIMaker文档</title>
	<link rel="stylesheet" type="text/css" href="static/style/codearea-sublime.css">
    <link rel="icon" href="./static/favicon.ico">
</head>
<body class="mdui-drawer-body-left mdui-appbar-with-toolbar mdui-theme-primary-light-blue mdui-theme-accent-blue mdui-loaded">
	<div class="mdui-appbar mdui-color-blue mdui-appbar-fixed">
  <div class="mdui-toolbar mdui-color-blue">
    <a href="javascript:;" class="mdui-btn mdui-btn-icon" mdui-drawer="{target: '#left-drawer'}"><i class="mdui-icon material-icons">menu</i></a>
    <a href="javascript:;" class="mdui-typo-headline">GUIMaker | 文档</a>
    <div class="mdui-toolbar-spacer"></div>
    <a href="https://gitee.com/index-1048576/guimaker" class="mdui-btn mdui-btn-icon"  mdui-tooltip="{content: 'fork me on gitee!'}"><img src="https://gitee.com/index-1048576/guimaker/widgets/widget_5.svg?color=46c9ba" width="100%"></a>
 </div>   
</div>

<div class="mdui-drawer mdui-drawer-open mdui-shadow-12" id="left-drawer">
<div class="mdui-list">
  <a href="#p1" class="mdui-list-item mdui-ripple">GuiMaker介绍</a>
  <a href="#p2" class="mdui-list-item mdui-ripple">GuiMaker的GUI类</a>
</div>
  </div>
<div class="mdui-typo mdui-container">
	<a href="#p1"><h1 class="mdui-typo-title" id="p1">GuiMaker介绍</h1></a>
	<hr>
	<a href='https://gitee.com/index-1048576/guimaker/stargazers' style="text-decoration:none"><img src='https://gitee.com/index-1048576/guimaker/badge/star.svg?theme=dark' alt='star'></img></a><a href='https://gitee.com/index-1048576/guimaker/members'><img src='https://gitee.com/index-1048576/guimaker/badge/fork.svg?theme=dark' style="text-decoration:none" alt='fork'></img></a>
	<p>guimaker由1048576，未入门的程序员和Toby共同开发，是一个基于tkinter的简易、轻量级的Python gui。使用它，您可以轻松的写出一个GUI程序。
	<br>
	<a href="#p2"><h1 class="mdui-typo-title" id="p2">GuiMaker的GUI类</h1></a>
	<hr>
	<p></p>
	        <ul>
	            <li>
	                <h4>构造方法</h4>
	                <h6>
	                构造方法用于创建窗口，该函数的函数签名是：
	                <div class="code">
	                    <code class="code">
	                        <span class="function">__init__</span>(<span class="args">self</span>, <span class="args">width</span><span class="keyword">=</span><span class="numbool">300</span>, <span class="args">height</span><span class="keyword">=</span><span class="numbool">300</span>, <span class="args">title</span><span class="keyword">=</span><span class="string">"Window"</span>)
	                    </code>
	                </div>
	                width: 宽度<br>
	                height:高度<br>
	                title: 标题
	                </h6>
	            </li>
	            <li>
	                <h4>Text方法</h4>
	                <h6>
	                Text方法用于让屏幕上显示文字，函数签名为：
	                <div class="code">
	                    <code class="code">
	                        <span class="function">text</span>(<span class="args">self</span>, <span class="args">text</span><span class="keyword">=</span><span class="string">""</span>, <span class="args">x</span><span class="keyword">=</span><span class="numbool">None</span>, <span class="args">y</span><span class="keyword">=</span><span class="numbool">None</span>, <span class="args">color</span><span class="keyword">=</span><span class="string">"black"</span>, <span class="args">var</span><span class="keyword">=</span><span class="numbool">None</span>)
	                    </code>
	                </div>
	                text:要显示的文本<br>
	                x: x坐标<br>
	                y: y坐标<br>
	                color: <span style="color: red">字体颜色</span><br>
	                var: 绑定的变量<br>
	                </h6>
	            </li>
	            <li>
	                <h4>Button方法</h4>
	                <h6>
	                Button方法用于让屏幕上增加按钮，函数签名为：
	                <div class="code">
	                    <code class="code">
	                        <span class="function">button</span>(<span class="args">command</span>, <span class="args">width</span><span class="keyword">=</span><span class="numbool">20</span>, <span class="args">height</span><span class="keyword">=</span><span class="numbool">20</span>, <span class="args">text</span><span class="keyword">=</span><span class="string">""</span>, <span class="args">x</span><span class="keyword">=</span><span class="numbool">None</span>, <span class="args">y</span><span class="keyword">=</span><span class="numbool">None</span>, <span class="args">var</span><span class="keyword">=</span><span class="numbool">None</span>)
	                    </code>
	                </div>
	                text:要显示的文本<br>
	                x: x坐标<br>
	                y: y坐标<br>
	                width: 宽度<br>
	                height:高度<br>
	                command: <span style="color: red">绑定事件</span><br>
	                var: 绑定的变量<br>
	                </h6>
	            </li>
	            <li>
	                <h4>run方法</h4>
	                <h6>
	                run方法用于让屏幕上所有添加的物体显示，函数签名为：
	                <div class="code"><code class="code">
	                    <span class="function">run</span>()
	                </code></div>
	                <span style="color: red">使用guimaker必须有且在最后调用run方法<br></span><br>
	                </h6>
	            </li>
	        </ul>
	        <ul>

</div>
</body>
</html>
